package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.DailyCollect;

public interface IDailyCollectService {
    /**
     * 查询是否需存在当前记录
     * @param userId
     * @param treavelId
     * @return
     */
    DailyCollect get(Long userId, Long treavelId);

    void delete(Integer id);

    void save(DailyCollect collect);

    int selectCount(Long dailyId);
}
